﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NAnt.SVN.Process
{
    /// <summary>
    /// Struct used in the callback
    /// $Id$
    /// </summary>
    public struct ProcessRunnerData
    {
        /// <summary>
        /// A message
        /// </summary>
        public string Message { get; set; }
        /// <summary>
        /// The command name
        /// </summary>
        public string Command { get; set; }
        /// <summary>
        /// The used arguments
        /// </summary>
        public string Options { get; set; }
        /// <summary>
        /// Output with newlines
        /// </summary>
        public string Output { get; set; }
        /// <summary>
        /// Raw output without newlines
        /// </summary>
        public string RawOutput { get; set; }
        /// <summary>
        /// If it was a success or not
        /// </summary>
        public int ExitCode { get; set; }
    }
}
